const requireComponent = require.context('./src',false,/.vue$/)
let res_cpt = {}
requireComponent.keys().forEach(fileName => {
  const scp = requireComponent(fileName)
  res_cpt[fileName.replace(/^\.\/(.*)\.\w+$/, '$1')] = scp.default
})
export default {
  ...res_cpt
}